home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
topfigures.swf
/
scripts
/
Fmd5.as
Wrap
Text File
|
2011-09-19
|
15KB
|
339 lines
var §\x01§ = 554;
while(true)
{
if(eval("\x01") == 554)
{
set("\x01",eval("\x01") - 24);
§§push(true);
}
else if(eval("\x01") == 619)
{
set("\x01",eval("\x01") - 496);
}
else if(eval("\x01") == 189)
{
set("\x01",eval("\x01") + 54);
§§push("\x0f");
}
else if(eval("\x01") == 475)
{
set("\x01",eval("\x01") - 354);
}
else if(eval("\x01") == 530)
{
set("\x01",eval("\x01") - 512);
if(§§pop())
{
set("\x01",eval("\x01") + 362);
}
}
else
{
if(eval("\x01") == 480)
{
set("\x01",eval("\x01") - 194);
§§push(§§pop() >>> §§pop());
break;
}
if(eval("\x01") == 438)
{
set("\x01",eval("\x01") + 284);
}
else
{
if(eval("\x01") == 18)
{
set("\x01",eval("\x01") + 362);
stop();
break;
}
if(eval("\x01") == 477)
{
set("\x01",eval("\x01") - 39);
if(§§pop())
{
set("\x01",eval("\x01") + 284);
}
}
else
{
if(eval("\x01") == 722)
{
set("\x01",eval("\x01") - 656);
Fmd5Class.prototype = new MovieClip();
Fmd5Class.prototype.rol = function(a, n)
{
return a << n | a >>> 32 - n;
};
Fmd5Class.prototype.FF = function(a, b, c, d, x, s, ac)
{
return this.rol(a + (b & c | (~b) & d) + x + ac,s) + b;
};
Fmd5Class.prototype.GG = function(a, b, c, d, x, s, ac)
{
return this.rol(a + (b & d | c & (~d)) + x + ac,s) + b;
};
Fmd5Class.prototype.HH = function(a, b, c, d, x, s, ac)
{
return this.rol(a + (b ^ c ^ d) + x + ac,s) + b;
};
Fmd5Class.prototype.II = function(a, b, c, d, x, s, ac)
{
return this.rol(a + (c ^ (b | ~d)) + x + ac,s) + b;
};
Fmd5Class.prototype.transformMD5 = function(buf, offset)
{
var _loc6_ = undefined;
var _loc5_ = undefined;
var _loc4_ = undefined;
var _loc3_ = undefined;
var _loc2_ = this.transformBuffer;
_loc6_ = this.state[0];
_loc5_ = this.state[1];
_loc4_ = this.state[2];
_loc3_ = this.state[3];
i = 0;
while(i < 16)
{
_loc2_[i] = buf[i * 4 + offset] & 255;
j = 1;
while(j < 4)
{
_loc2_[i] |= (buf[i * 4 + j + offset] & 255) << j * 8;
j++;
}
i++;
}
_loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[0],7,3614090360);
_loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[1],12,3905402710);
_loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[2],17,606105819);
_loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[3],22,3250441966);
_loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[4],7,4118548399);
_loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[5],12,1200080426);
_loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[6],17,2821735955);
_loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[7],22,4249261313);
_loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[8],7,1770035416);
_loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[9],12,2336552879);
_loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[10],17,4294925233);
_loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[11],22,2304563134);
_loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[12],7,1804603682);
_loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[13],12,4254626195);
_loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[14],17,2792965006);
_loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[15],22,1236535329);
_loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[1],5,4129170786);
_loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[6],9,3225465664);
_loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[11],14,643717713);
_loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[0],20,3921069994);
_loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[5],5,3593408605);
_loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[10],9,38016083);
_loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[15],14,3634488961);
_loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[4],20,3889429448);
_loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[9],5,568446438);
_loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[14],9,3275163606);
_loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[3],14,4107603335);
_loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[8],20,1163531501);
_loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[13],5,2850285829);
_loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[2],9,4243563512);
_loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[7],14,1735328473);
_loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[12],20,2368359562);
_loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[5],4,4294588738);
_loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[8],11,2272392833);
_loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[11],16,1839030562);
_loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[14],23,4259657740);
_loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[1],4,2763975236);
_loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[4],11,1272893353);
_loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[7],16,4139469664);
_loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[10],23,3200236656);
_loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[13],4,681279174);
_loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[0],11,3936430074);
_loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[3],16,3572445317);
_loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[6],23,76029189);
_loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[9],4,3654602809);
_loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[12],11,3873151461);
_loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[15],16,530742520);
_loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[2],23,3299628645);
_loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[0],6,4096336452);
_loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[7],10,1126891415);
_loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[14],15,2878612391);
_loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[5],21,4237533241);
_loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[12],6,1700485571);
_loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[3],10,2399980690);
_loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[10],15,4293915773);
_loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[1],21,2240044497);
_loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[8],6,1873313359);
_loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[15],10,4264355552);
_loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[6],15,2734768916);
_loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[13],21,1309151649);
_loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[4],6,4149444226);
_loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[11],10,3174756917);
_loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[2],15,718787259);
_loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[9],21,3951481745);
this.state[0] += _loc6_;
this.state[1] += _loc5_;
this.state[2] += _loc4_;
this.state[3] += _loc3_;
};
Fmd5Class.prototype.MD5Init = function()
{
this.count0 = this.count1 = 0;
this.state[0] = 1732584193;
this.state[1] = 4023233417;
this.state[2] = 2562383102;
this.state[3] = 271733878;
i = 0;
while(i < this.digestBits.length)
{
this.digestBits[i] = 0;
i++;
}
};
Fmd5Class.prototype.MD5Update = function(b)
{
var _loc2_ = this.count0 >>> 3 & 63;
if(4294967288 <= this.count0)
{
this.count1 = this.count1 + 1;
this.count0 -= 4294967296;
}
this.count0 += 8;
this.buffer[_loc2_] = b & 255;
trace(_loc2_);
if(_loc2_ >= 63)
{
this.transformMD5(this.buffer,0);
}
};
Fmd5Class.prototype.MD5Final = function()
{
var _loc4_ = new Array(8);
var _loc2_ = undefined;
var _loc3_ = undefined;
_loc2_ = 0;
while(_loc2_ < 4)
{
_loc4_[_loc2_] = this.count0 >>> _loc2_ * 8 & 255;
_loc4_[_loc2_ + 4] = this.count1 >>> _loc2_ * 8 & 255;
_loc2_ = _loc2_ + 1;
}
var _loc6_ = this.count0 >>> 3 & 63;
var _loc5_ = _loc6_ >= 56 ? 120 - _loc6_ : 56 - _loc6_;
this.MD5Update(128);
_loc2_ = 1;
while(_loc2_ < _loc5_)
{
this.MD5Update(0);
_loc2_ = _loc2_ + 1;
}
_loc2_ = 0;
while(_loc2_ < 8)
{
this.MD5Update(_loc4_[_loc2_]);
_loc2_ = _loc2_ + 1;
}
_loc2_ = 0;
while(_loc2_ < 4)
{
_loc3_ = 0;
while(_loc3_ < 4)
{
this.digestBits[_loc2_ * 4 + _loc3_] = this.state[_loc2_] >>> _loc3_ * 8 & 255;
_loc3_ = _loc3_ + 1;
}
_loc2_ = _loc2_ + 1;
}
};
Fmd5Class.prototype.byteToStr = function(bt)
{
var _loc1_ = "0123456789abcdef";
var _loc2_ = _loc1_.charAt(bt >> 4) + _loc1_.charAt(bt & 15);
return _loc2_;
};
Fmd5Class.prototype.md5 = function(m)
{
var _loc4_ = "";
this.MD5Init();
var _loc2_ = 0;
while(_loc2_ < m.length)
{
this.MD5Update(m.charCodeAt(_loc2_));
_loc2_ = _loc2_ + 1;
}
this.MD5Final();
_loc2_ = 0;
while(_loc2_ < 16)
{
_loc4_ += this.byteToStr(this.digestBits[_loc2_]);
_loc2_ = _loc2_ + 1;
}
return _loc4_;
};
Fmd5Class.prototype.verifytext = function(d, m)
{
return this.md5(m) == d;
};
Fmd5Class.prototype.makeSig = function(input)
{
return this.md5(input);
};
Object.registerClass("Fmd5",Fmd5Class);
break;
}
if(eval("\x01") == 123)
{
set("\x01",eval("\x01") + 253);
§§push(true);
}
else if(eval("\x01") == 376)
{
set("\x01",eval("\x01") + 104);
if(§§pop())
{
set("\x01",eval("\x01") - 194);
}
}
else if(eval("\x01") == 380)
{
set("\x01",eval("\x01") - 257);
}
else if(eval("\x01") == 286)
{
set("\x01",eval("\x01") - 165);
}
else if(eval("\x01") == 694)
{
set("\x01",eval("\x01") - 217);
§§push(!§§pop());
}
else
{
if(eval("\x01") == 66)
{
set("\x01",eval("\x01") - 66);
break;
}
if(eval("\x01") == 121)
{
set("\x01",eval("\x01") + 477);
§§push("\x0f");
§§push(1);
}
else if(eval("\x01") == 243)
{
set("\x01",eval("\x01") + 451);
§§push(eval(§§pop()));
}
else
{
if(eval("\x01") != 598)
{
break;
}
set("\x01",eval("\x01") - 409);
var §§pop() = §§pop();
}
}
}
}
}
}